<!DOCTYPE html>
<html lang="">
  <head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <!-- <meta name="viewport" content="width=device-width,initial-scale=1.0"> -->
    <link rel="icon" href="<%= BASE_URL %>logo.jpg">
    <title><%= htmlWebpackPlugin.options.title %></title>
    <!-- <link rel="stylesheet" href="//cdn.jsdelivr.net/npm/bootstrap@5.0.2/dist/css/bootstrap.min.css" /> -->
    <script src="https://webapi.amap.com/maps?v=1.4.15&key=7a37841e76826fb64142a07990644dc1"></script>
    <script>
      // (function(win) {
      //     var tid;
      //     function refreshRem() {
      //       let designSize = 1920; // 设计图尺寸
      //       let html = document.documentElement;
      //       let wW = html.clientWidth;// 窗口宽度
      //       let rem = wW * 100 / designSize; 
      //       document.documentElement.style.fontSize = rem + 'px';
      //       }
      //   win.addEventListener('resize', function() {
      //     clearTimeout(tid);
      //     tid = setTimeout(refreshRem, 300);
      //   }, false);
      //   win.addEventListener('pageshow', function(e) {
      //     if (e.persisted) {
      //       clearTimeout(tid);
      //       tid = setTimeout(refreshRem, 300);
      //     }
      //   }, false);
      //   refreshRem();

      // })(window);
    </script>
  </head>
  <body>
    <noscript>
      <strong>We're sorry but <%= htmlWebpackPlugin.options.title %> doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
    </noscript>
    <div id="app"></div>
    <!-- built files will be auto injected -->
  </body>
</html>
